@set NDocConsole="d:\Program Files\NDoc 1.3\bin\net\1.1\NDocConsole.exe"
@set MSBUILD="C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.exe"
@set SOLUTION_FILE=Telnet.sln
@ REM
set ProjectRoot=%~dp0
%MSBUILD% "%ProjectRoot%%SOLUTION_FILE%" /p:Configuration=Release
@echo AAAAA "%ProjectRoot%doc\TelnetLib.chm"
@pushd %ProjectRoot%
del "doc\TelnetLib.chm" &  %NDocConsole% -project=TelnetLib.ndoc &  doc\TelnetLib.chm
@popd

